package com.woniuxy.hrm.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 封装响应码值
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@ToString
public enum ResponseEnum {
    SUCCESS(200,"OK"),
    FAIL(500,"FAIL"),
    LOGIN_ERROR(2000,"LOGINERROR"),
    PARAM_ERROR(2001,"PARAM_ERROR"),
    NO_LOGIN(2002,"NOLOGIN"),
    SYS_BUSY(2003,"SYSBUSY"),
    KILL_END(2004,"KILLEND"),
    ;

    private Integer code;
    private String msg;
}
